┌────────────────────────────────┐ │ ░░░ ░░▓ ░▓▓ ███ ▓▓░ ▓░░ │ │ ~ M O O N ~ │ └────────────────────────────────┘
prd-web-01.centraldc.gr
LOCATION:
/usr/share/doc/cloud-init/module-docs/cc_phone_home
☗ ROOT
↻ REFRESH
✎ EDIT FILE
EDITING: data.yaml
cc_phone_home: description: | This module can be used to post data to a remote host after boot is complete. Either all data can be posted, or a list of keys to post. Available keys are: - ``pub_key_rsa`` - ``pub_key_ecdsa`` - ``pub_key_ed25519`` - ``instance_id`` - ``hostname`` - ``fdqn`` Data is sent as ``x-www-form-urlencoded`` arguments. **Example HTTP POST**: .. code-block:: http POST / HTTP/1.1 Content-Length: 1337 User-Agent: Cloud-Init/21.4 Accept-Encoding: gzip, deflate Accept: */* Content-Type: application/x-www-form-urlencoded pub_key_rsa=rsa_contents&pub_key_ecdsa=ecdsa_contents&pub_key_ed25519=ed25519_contents&instance_id=i-87018aed&hostname=myhost&fqdn=myhost.internal .. warning:: Use of ``INSTANCE_ID`` variable within this module is deprecated. Use :ref:`jinja templates<user_data_formats-jinja>` with :ref:`v1.instance_id<v1_instance_id>` instead. examples: - comment: | Example 1: file: cc_phone_home/example1.yaml - comment: | Example 2: file: cc_phone_home/example2.yaml name: Phone Home title: Post data to URL
CANCEL
Name
Type
Size
Modified
Actions
↩ ..
DIR
—
—
📄 data.yaml
YAML
1.2 KB
2024-11-25 16:09
EDIT
📄 example1.yaml
YAML
106 B
2024-11-25 16:09
EDIT
📄 example2.yaml
YAML
187 B
2024-11-25 16:09
EDIT